<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新浪导航栏</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .nav {
            height: 40px;
            border-top : 3px solid #ff8500;
            border-bottom : 1px solid #edeef0;
        }

        .nav a {
            text-align: center;
            font-size: 12px;
            height: 40px;
            color:  #4c4c4c;
            line-height: 40px;
            display: inline-block;
            text-decoration: none;
            padding-left: 14px;
            padding-right: 14px;

        }

        .nav a:hover {
            background-color: #edeef0;
            color: #ff8500;
        }
    </style>
</head>
<body>
    <div class="nav">
        <a href="#">新浪导航</a> 
        <a href="#">新浪导航</a>
        <a href="#">新浪导航</a>
        <a href="#">新浪导航</a>
        <a href="#">新浪导航</a>
        <a href="#">新浪导航</a>
    </div>
    
</body>
</html>